﻿using UnityEngine;

namespace QFramework
{
    public interface IItem
    {
        string GetName { get; }
        string GetKey { get; }
        string GetDescription { get; }
        
        /// <summary>
        /// 多语言设置
        /// </summary>
        ItemLanguagePackage.LocaleItem LocaleItem { get; set; }
        
        Sprite GetIcon { get; }
        
        bool GetBoolean(string propertyName);
        
        bool IsStackable { get; }
        
        bool GetHasMaxStackableCount { get; }
        
        int GetMaxStackableCount { get; }
    }
    
}